package org.digital.entity.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("digital_projects")
public class Project {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;
    private String picture;
    private String detail;
    @TableField("created_at")
    private Date createdAt;
    @TableField("updated_at")
    private Date updatedAt;
    @TableLogic
    @TableField("deleted_at")
    private Date deletedAt;
    private Integer state;
    private String body;
}
